<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<script src="js/informationPage.js"></script>

<!-- 
    모든 음식 정보 페이지
 -->
    <div id="adminMode" class="boardSearch">
		<div id="boardSearchbar">
			<h3>게시판 관리</h3>
			<form name="boardAllSearch">
				<table style="border: 1px solid gray; width:800px; height:60px;">
					<tr>
						<td>
							게시판 이름 : 
				            <input type="text" name="boardSearch" size="50"/>
				            <input type="submit" value="검색"/>
				       </td>
	            	</tr>
	            </table>
	        </form>
        </div>
        
        <div style="padding: 15px 0px"></div>
        
        <div id="boardAllList">
        	전체 게시판 : 
        	<table style="border: 1px solid gray; width: 800px; height: 30px; text-align: center">
				<tr style="background: skyblue">
					<td style="width: 100px">게시판번호</td>
					<td style="width: 250px">게시판 이름</td>
					<td style="width: 150px">게시판 종류</td>
					<td style="width: 150px">게시판 삭제 여부</td>
					<td style="width: 150px"></td>
					
            	</tr>
            	<c:forEach var="board" items="${board }">
            	<tr>
            		<td>${board.boardNo }</td>
					<td>${board.boardName }</td>
					<td>${board.boardClass }</td>
					<td>${board.boardLeaveYn } </td>
					<td>
					
						<a href="javascript:adminBoardPreModify(${board.boardNo });"><input type="button" value="수정하기">
						</a>
						<a href="javascript:adminBoardRemove(${board.boardNo });"><input type="button" value="삭제하기"></a>
						
						
					</td>
					
            	</tr>
            	
            	</c:forEach>
            	
	        </table>
	        <br>
        페이징
        
        <br><br>
        </div>
        
</div>